#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()
root.geometry('80x80+0+0')

print root.pack_slaves()

for i in range(5):
    Label(root, text='pack'+str(i)).pack()

Label(root, text='pack').pack()

print root.pack_slaves()

root.mainloop()
